package com.powerunion.datacollection.dao;

import java.util.List;

import net.sf.json.JSONArray;

import com.powerunion.datacollection.model.DataCollectionForm;
import com.powerunion.datacollection.model.query.DataCollectionFormQuery;

public interface DataCollectionFormDao {
	public String save(DataCollectionForm dcf) throws DaoException;
		
	public boolean delete(String[] codes) throws DaoException ;
	
	public DataCollectionForm getBykey(String id) throws DaoException;
	
	public String getDataCollectionForms(DataCollectionFormQuery query,int start,int limit);
	
	public String getUploadFiles(int start,int limit,String actId,String formId);
	
	public String deleteUploadFiles(String path,String[] codes);
	
//	public JSONArray getDataSourceTree(String paraSeq) throws Exception;
//	
//	public List getFieldNames(String svrName,String tableName) throws Exception;
}
